package com.xxxx.comment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.comment.entity.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
@Mapper
public interface ShopMapper extends BaseMapper<Shop> {
    List<Shop> queryShopByName(@Param("name") String name);

    List<Shop> queryShopByType(@Param("typeId") Integer typeId, @Param("pageNum") Integer pageNum);

    List<Shop> queryShopByIds(@Param("ids") Collection<Long> ids);

}
